setQueryHint

open fun setQueryHint(@Nullable hint: @Nullable CharSequence)(source)

Sets the hint text to display in the query text field. This overrides any hint specified in the SearchableInfo.

This value may be specified as an empty string to prevent any query hint from being displayed.

Parameters

hint

the hint text to display or null to clear queryHint